Wraps a nkGraphics::BoundingBox and offers functions for use in scripting. More...
Static Public Member Functions | |
| static void | updateEnvironment (nkScripts::Environment *env) |
| static void * | constructor (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | newCube (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | newBox (const nkScripts::DataStack &stack) |
| static void | destructor (void *toDestroy) |
| static nkScripts::OutputValue | getCenter (const nkScripts::DataStack &stack) |
| static nkScripts::OutputValue | checkAgainst (const nkScripts::DataStack &stack) |
Wraps a nkGraphics::BoundingBox and offers functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
| env | The environment to set up. |
|
static |
Wrapper function for the constructor of the user type.
| stack | The parameter stack. |
|
static |
Wrapper function for the constructor of the user type. Will map to the constructor resulting in a cube.
| stack | The parameter stack. |
|
static |
Wrapper function for the constructor of the user type. Will map to the constructor resulting in a box.
| stack | The parameter stack. |
|
static |
Wrapper function for the destructor of the user type.
| toDestroy | The data that has to be freed. |
|
static |
Wrapper function for nkGraphics::BoundingBox::getCenter().
| stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::BoundingBox::checkAgainst().
| stack | The parameter stack. |